import 'package:taonile/generated/json/base/json_field.dart';
import 'package:taonile/generated/json/support_bank_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class SupportBankEntity {

	late int code=0;
	late String msg;
	late List<SupportBankData> data=[];
  
  SupportBankEntity();

  factory SupportBankEntity.fromJson(Map<String, dynamic> json) => $SupportBankEntityFromJson(json);

  Map<String, dynamic> toJson() => $SupportBankEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}

@JsonSerializable()
class SupportBankData {

	late String id;
	late String name;
  
  SupportBankData();

  factory SupportBankData.fromJson(Map<String, dynamic> json) => $SupportBankDataFromJson(json);

  Map<String, dynamic> toJson() => $SupportBankDataToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}